﻿
namespace SharpTalk.Core.Interfaces
{
    using System;
    using System.Collections.Generic;

    /// <summary>
    /// Message logging interface contract
    /// </summary>
    public interface IMessageLogger : IDisposable
    {
        /// <summary>
        /// Adds a message
        /// </summary>
        /// <param name="message"></param>
        bool AppendMessage(SimpleMessage message);
        /// <summary>
        /// Adds a list of messages
        /// </summary>
        /// <param name="messages"></param>
        bool AppendMessages(IEnumerable<SimpleMessage> messages);
    }
}